package Hw_03;

public class Test {
    public static void main(String[] args) {
        Printer pri = new DotMatrixPrinter();
        pri.print();

        pri = new InkjetPringter();
        pri.print();

        pri = new LaserPrinter();
        pri.print();
    }
}
